package com.example.char05;

import android.app.Application;
import android.content.Context;

/**
 * Created by AprilNexus on 2017/6/30.
 */
public class App extends Application {
    private static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        context=getApplicationContext();
    }

    public static Context getContext() {
        return context;
    }
}
